package com.foreveross.taskservice.engine.worker;

import org.apache.log4j.Logger;
import org.dayatang.domain.InstanceFactory;
import org.quartz.StatefulJob;

import com.foreveross.taskservice.application.channel.IGradChannelApplication;
import com.foreveross.taskservice.application.task.mq.IMQInfoApplication;
import com.foreveross.taskservice.application.task.mq.IRollbackTaskFromMQApplication;
import com.foreveross.taskservice.application.task.mq.ITaskToMQApplication;
import com.foreveross.taskservice.application.task.service.IBuildTaskQueueLogApplication;
import com.foreveross.taskservice.application.task.service.IBuildTaskToCacheApplication;
import com.foreveross.taskservice.application.task.service.ITaskQueueLogApplication;
import com.foreveross.taskservice.application.task.service.ITaskTemplateApplication;
import com.foreveross.taskservice.taskcache.ITaskCacheFlush;
import com.foreveross.taskservice.taskcache.ITaskCacheQuery;
import com.foreveross.taskservice.taskcache.ITaskCacheStorage;

/**
 * 抽象的，只能同时运行一个的worker，适合单线程的单点任务
 * @author Administrator
 *
 */
public abstract  class AbstractTaskStatefulJobWorker  extends BaseJobWorker implements StatefulJob {}
